import $http from '@/common/api/request.js'
export default{
	login(user){
		return $http.request({
			url:'/auth/login',
			data:user,
			method:'POST'
			});
	},
	info(){
		return $http.request({
			url:'/user/info',
			method:'GET'
			});
	}
}